From 8e4250ae574100722a6fd0f2bba46eb30b3f12ae Mon Sep 17 00:00:00 2001 From: Brion Vibber Date: Thu, 23 Dec 2004 14:04:11 +0000 Subject: [PATCH] * Add the dreaded to the HTML whitelist --- includes/Parser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Parser.php b/includes/Parser.php index c06d5be829..199e9b8acd 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -2218,14 +2218,14 @@ class Parser 'h2', 'h3', 'h4', 'h5', 'h6', 'cite', 'code', 'em', 's', 'strike', 'strong', 'tt', 'var', 'div', 'center', 'blockquote', 'ol', 'ul', 'dl', 'table', 'caption', 'pre', - 'ruby', 'rt' , 'rb' , 'rp', 'p' + 'ruby', 'rt' , 'rb' , 'rp', 'p', 'span' ); $htmlsingle = array( 'br', 'hr', 'li', 'dt', 'dd' ); $htmlnest = array( # Tags that can be nested--?? 'table', 'tr', 'td', 'th', 'div', 'blockquote', 'ol', 'ul', - 'dl', 'font', 'big', 'small', 'sub', 'sup' + 'dl', 'font', 'big', 'small', 'sub', 'sup', 'span' ); $tabletags = array( # Can only appear inside table 'td', 'th', 'tr' -- 2.20.1